module User::PictureHelper
  
  def get_access(pict_id)
    picture = Picture.find(pict_id)
    
    case picture.access
      when 0
        return "Private"
      when 1
        return "Protected"
      when 2
        return "Public"
    end
  end
  
end
